package com.kuang.session;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@NoArgsConstructor
@AllArgsConstructor
@Data
@Accessors(chain = true)
public class UserInfoSession implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户唯一id")
    private String userid;

    @ApiModelProperty(value = "用户的唯一数字账号")
    private String usernum;

    @ApiModelProperty(value = "用户昵称")
    private String nickname;

    @ApiModelProperty(value = "用户邮箱")
    private String email;

    @ApiModelProperty(value = "1普通用户 2VIP会员")
    private Integer vip;

    @ApiModelProperty(value = "VIP到期时间")
    private Date vipEndTime;

    @ApiModelProperty(value = "VIP剩余天数")
    private int days;

    @ApiModelProperty(value = "用户头像")
    private String avatar;

    @ApiModelProperty(value = "K币，网站虚拟货币")
    private Integer coin;

    @ApiModelProperty(value = "经验, 用来升等级")
    private Integer exp;

    @ApiModelProperty(value = "用户签名")
    private String sign;

    @ApiModelProperty(value = "收获地址")
    private String address;

    @ApiModelProperty(value = "性别：0女 1男")
    private Integer sex;

    @ApiModelProperty(value = "是否封禁")
    private Integer disabled;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "背景图")
    private String bgPic;

    @ApiModelProperty(value = "手机号码")
    private String mobile;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "用户角色 身份 1普通 2 管理员")
    private Integer roleid;

    @ApiModelProperty(value = "样式文本")
    private String csstext;
}
